package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.template.DestinationTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * @author 猫教授
 * @date 2019/8/18 17:19
 */
@Repository
public interface DestinationTemplateRepository extends ElasticsearchRepository<DestinationTemplate,Long> {
    DestinationTemplate findByName(String keyword);
}
